Use valid and spec-compliant MP4 file for all tests. r=gerald,jgraham (#3903) * Test for writable effect. MozReview-Commit-ID: 2hMY2barRb9 Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1049975 * Respect type-in state when caching inline styles; MozReview-Commit-ID: OZCUbNUvmz Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1250805 * Pointer Event] Refine setPointerCapture / releasePointerCapture to follow the algorithm defined in the spec. f=bevistseng, Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1294335 * The error event in a worker (firing at the worker's global) should have the original exception value in its .error property. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=986459 * Do not write <parsererror> nodes for invalid XML documents in XMLHttpRequests made by web content. r=billm, Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=289714 * Add reftests. r=dholbert,heycam MANIFEST.json is revised automatically by --manifest-update. MozReview-Commit-ID: PZgNtDlaFk Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1245751 * Add tests for a, script, mpath, and animate elements. r=dholbert,heycam Extend the original test for <a> element in dom/svg/ and add some mochitests in svg/linking/scripted/. MozReview-Commit-ID: G7lszyUVMiU Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1245751 * Fix setting location.hash for documents with about:something URIs to actually work. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1298977 * Support :indeterminate pseudo-class for radio groups. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=885359 * HTMLFormElemement should have unenumerable named properties per spec. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1270369 * Rework animation phase and fill mode handling This reflects the following updates to the spec: https://github.com/w3c/web-animations/commit/9369384f6cfa0716520595bed9d05a51197efecc MozReview-Commit-ID: JYUOZcnPEJQ Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1299695 * Pointer Event] Update web-platform-test pointerevent_element_haspointercapture-manual.html. f=bevistseng Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1298255 * Make sure the parser insertion point is defined when firing the load event for external <scripts> or firing the error event on a failed external script load (but not other cases, like bogus script URL). If we have a creator parser, then we were a parser-inserted script and should presumably be able to set a valid insertion point when we run or fire our load/error events. For the error event case, we do this in nsScriptElement::ScriptAvailable, so that async error events due to things like bogus script URLs do not end up with a valid insertion point. For the load event case, we just do this in ScriptEvaluated directly. ScriptEvaluated is called while the scriptloader has our script set as the current parser-inserted script. But for the error event case we need to maintain that state around the ScriptAvailable call that will fire the event. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1297125 * Remove the existing Location hardcoding in js::SetPrototype now that Location handles that itself. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1299306 * Let the web platform test scheme-data.html pass for HEAD and POST requests. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1063526 * Test for setting spacing. MozReview-Commit-ID: 5pMhC00vNIh Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1274944 * Throw NetworkErrors instead of failures where appropriate for some XHR web platform tests. r=bz, r=keeler, r=Mossop, Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=918751 * P5 - Adding new tests for SRI and enabling test for Request's integrity attribute in wpt. r=bkelly. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1187335 * P6 - Support script/css to set integrity metadata to serviceWorker. r=bkelly. r=francois. Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1187335 * Use valid and spec-compliant MP4 file for all tests. r=gerald,jgraham The MP4 used in the tests was invalid: 1- It contains out of order and overlapping frames 2- The first frame for each of the first 9 media segments were marked as keyframe, even though they weren't The new file was encoded such that: - The total bitrate remains the same as in the previous files - The total duration is similar - Each media segment starts with a valid keyframe - Frames are properly ordered - GOP is made of 24 frames - The video track doesn't start at 0, which helps testing the proper behaviour regarding buffered range calculation. - Like in the previous video, the audio track is present but made of silence (which is puzzling for a video initially designed to test A/V sync) The webm file presents the same characteristics. MozReview-Commit-ID: 6AKKmInaenE Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1300296 
diff --git a/media-source/mediasource-sequencemode-append-buffer.html b/media-source/mediasource-sequencemode-append-buffer.html index 808c597..92a01ab 100644 --- a/media-source/mediasource-sequencemode-append-buffer.html +++ b/media-source/mediasource-sequencemode-append-buffer.html 
@@ -61,7 +61,7 @@  // Prior to EOS, the buffered range end time may not have fully reached the next media  // segment's timecode (adjusted by any timestampOffset). It should not exceed it though.  // Therefore, an exact assertBufferedEquals() will not work here. - assert_equals(sourceBuffer.buffered.length, 1, "sourceBuffer.buffered has 1 range before EOS"); + assert_greater_than(sourceBuffer.buffered.length, 0, "sourceBuffer.buffered has at least 1 range before EOS");  assert_equals(threeDecimalPlaces(sourceBuffer.buffered.start(0)),  threeDecimalPlaces(expectedBufferedRangeStartTime),  "sourceBuffer.buffered range begins where expected before EOS");